Automattic\WCShipping\Connect\WC_Connect_Nux B

Total Complexity 98
Dependencies 6
Dependents 1
Total lines 569
Lines of code 386
Logical lines of code 171
Comment lines 109
Methods 20
Properties 1

Methods 20

Method Rating Maintainability Complexity Lines of code
should_display_nux_notice_on_screen()
A
49 16 34
show_nux_banner()
A
40 11 66
get_banner_type_to_display()
A
53 11 25
get_feature_list_for_country()
A
53 11 21
show_tos_banner()
A
46 8 40
show_banner_after_connection()
A
47 7 37
set_up_nux_notices()
S
49 5 33
show_banner_before_connection()
S
51 5 28
is_wcshipping_settings_page()
S
60 5 13
get_jetpack_install_status()
S
66 4 9
load_scripts_and_styles()
S
53 1 26
get_notice_states()
S
68 2 7
is_notice_dismissed()
S
75 2 4
ajax_dismiss_notice()
S
67 2 8
can_accept_tos()
S
67 2 8
register_wcshipping_jetpack()
S
65 2 9
__construct()
S
75 1 4
dismiss_notice()
S
72 1 5
get_jetpack_redirect_url()
S
69 1 6
is_tos_accepted()
S
80 1 3